import {Api} from "@/common/api";
import {requestMethod} from "@/common/request";

// 告警事件列表
export class SecurityL3 extends Api {
  constructor() {
    super("api/v1/Hkgj-index");
    this.method(requestMethod.GET);
  }
}

// 值班老师
export class SecurityR1 extends Api {
  constructor() {
    super("api/v1/jzg-index");
    this.method(requestMethod.GET);
  }
}

// 海康监控
export class SecurityR2 extends Api {
  constructor() {
    super("api/v1/jk-index");
    this.method(requestMethod.GET);
  }
}

// 陌生人设备
export class GuestSb extends Api {
  constructor() {
    super("api/v1/hikmsr-jrindex");
    this.method(requestMethod.GET);
  }
}

// 根据陌生人设备获取
export class GuestFk extends Api {
  constructor() {
    super("api/v1/hikmsr-index");
    this.method(requestMethod.GET);
  }
}

// 告警推送创建
export class DocumentGJ extends Api {
  constructor() {
    super("api/v1/gjts-create");
    this.method(requestMethod.POST);
  }
}

// 主动处理告警事件
export class DocumentGJCl extends Api {
  constructor() {
    super("api/v1");
    this.method(requestMethod.POST);
  }
}

// 学生信息查看
export class DocumentStudent extends Api {
  constructor() {
    super("api/v1/Kq-student");
    this.method(requestMethod.GET);
  }
}

// 学生信息查看
export class RouteList extends Api {
  constructor() {
    super("api/v1/Kq-xsgjbz");
    this.method(requestMethod.GET);
  }
}
// 陌生人轨迹
export class RouteMsr extends Api {
  constructor() {
    super("api/v1/hikmsr-gj");
    this.method(requestMethod.GET);
  }
}
// 访客轨迹
export class RouteFk extends Api {
  constructor() {
    super("api/v1/hikmsr-ytst");
    this.method(requestMethod.GET);
  }
}

// 预警统计
export class DocumentCount extends Api {
  constructor() {
    super("api/v1/Hkgj-count");
    this.method(requestMethod.GET);
  }
}

// 海康监控地图标点
export class CameraList extends Api {
  constructor() {
    super("api/v1/jk-dtindex");
    this.method(requestMethod.GET);
  }
}

// 海康监控地图标点
export class CameraAllList extends Api {
  constructor() {
    super("api/v1/jk-index");
    this.method(requestMethod.GET);
  }
}

// 考勤设备
export class Clocking extends Api {
  constructor() {
    super("api/v1/md-index");
    this.method(requestMethod.GET);
  }
}

// 海康门禁设备
export class DoorList extends Api {
  constructor() {
    super("api/v1/Hkgj-count");
    this.method(requestMethod.GET);
  }
}
// 获取视频流
export class CameraVideo extends Api {
  constructor() {
    super("api/v1/Xyhc-spl");
    this.method(requestMethod.GET);
  }
}
// 发送到钉钉
export class Send2DD extends Api {
  constructor() {
    super("api/v1/Hkgj-gjfs");
    this.method(requestMethod.POST);
  }
}

// 访客
export class VisitorList extends Api {
  constructor() {
    super("api/v1/fkjl-index");
    this.method(requestMethod.GET);
  }
}
// 访客时间
export class VisitorTime extends Api {
  constructor() {
    super("api/v1/fkjl-rq");
    this.method(requestMethod.GET);
  }
}
// 人员导出
export class Mjdc extends Api {
  constructor() {
    super("api/mjdc");
    this.method(requestMethod.GET);
  }
}
// 车辆导出
export class Cldc extends Api {
  constructor() {
    super("api/cldc");
    this.method(requestMethod.GET);
  }
}
